package com.famid.flashcards.data;

import java.util.ArrayList;

/**
 * This class represents flashcards stack.
 * @author MSeslija
 *
 */
public class CardStack {
	private long id;
	private String title;
//	private ArrayList<Card> cards;
//	private int current;
	private int cardSize;
	private double knownPercent;
	
	public CardStack(long id, String title) {
		this.title = title;
		this.id = id;
	}
	
//	public CardStack(long id, String title, ArrayList<Card> cards) {
//		this.id = id;
//		this.title = title;
//		this.cards = new ArrayList<Card>();
//		if(cards != null)
//			this.cards.addAll(cards);		
//	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}


//	public int getCurrent() {
//		return current;
//	}
	
	public void shuffleCards() {
		//TODO implement this
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getCardSize() {
		return cardSize;
	}

	public void setCardSize(int cardSize) {
		this.cardSize = cardSize;
	}
	
	@Override
	public String toString() {
		return title;
	}

	public double getKnownPercent() {
		return knownPercent;
	}

	public void setKnownPercent(double knownPercent) {
		this.knownPercent = knownPercent;
	}
}
